package com.zwh.modules.goods.rabbitmq;

/**
 * 用户购买商品消息
 * @author monkey
 * @date 2020/11/2 11:02
 **/
public class UserBuyGoodsMessage {
    private String messageKey;
    private String userId;
    private String goodsId;
    public UserBuyGoodsMessage() {
    }
    public UserBuyGoodsMessage(String userId, String goodsId) {
        this.userId = userId;
        this.goodsId = goodsId;
    }

    public String getMessageKey() {
        return messageKey;
    }

    public void setMessageKey(String messageKey) {
        this.messageKey = messageKey;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }
}
